<?php
include("../inc/Function_user.php");
upower();
$psize = 15;
$page = isset($_GET['page'])?$_GET['page']:1;
$list = messlist($page,$psize);
$num = messnum();
if($list){
    $msg = 1;
}else{
    $msg = 0;
}
$page = page1($num,$psize,$page);

$tpl->assign("flist",$list);
$tpl->assign("msg",$msg);
$tpl->assign("page",$page);
$tpl->show("fankui");
?>